package com.zonta.finance.serivce;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zonta.finance.domain.form.CreateCurrencyConfigForm;
import com.zonta.finance.domain.form.DelCurrencyConfigForm;
import com.zonta.finance.domain.form.UpdateCurrencyConfigForm;
import com.zonta.finance.domain.po.CurrencyConfig;
import com.zonta.finance.domain.vo.GetCurrencyConfigVo;
import com.zonta.finance.domain.vo.ListCurrencyConfigVo;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 货币配置 服务类
 * </p>
 *
 * @author zonta
 * @since 2024-07-29
 */
public interface ICurrencyConfigService extends IService<CurrencyConfig> {

    /**
     * 添加币别
     * @param form
     * @return
     */
    Boolean createByFrom(CreateCurrencyConfigForm form);

    /**
     * 删除币别
     *
     * @param form
     * @return
     */
     boolean del(DelCurrencyConfigForm form);


    List<ListCurrencyConfigVo> lists();

    GetCurrencyConfigVo getGetCurrencyConfigVoById(Long id);

    Boolean updateByFrom(UpdateCurrencyConfigForm form);
}
